package org.codehaus.groovy.runtime;

import com.webobjects.foundation.NSTimestamp;

import er.extensions.ERXTimestampUtilities;

public class DefaultGroovyStaticMethodsAdditions {

	public static class DefaultStaticAdditions extends DefaultGroovyStaticMethods {
		// NSTimestampStaticAdditions.java

		public static NSTimestamp today(NSTimestamp self) {
			return ERXTimestampUtilities.today();
		}

		public static NSTimestamp tomorrow(NSTimestamp self) {
			return ERXTimestampUtilities.tomorrow();
		}

		public static NSTimestamp yesterday(NSTimestamp self) {
			return ERXTimestampUtilities.yesterday();
		}

		public static NSTimestamp epoch(NSTimestamp self) {
			return ERXTimestampUtilities.epoch();
		}
	}
}
